package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户模块对象 customers
 * 
 * @author ruoyi
 * @date 2025-05-15
 */
public class Customers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 客户ID */
    @Excel(name = "客户ID")
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 客户来源ID */
    @Excel(name = "客户来源ID")
    private Long sourceId;

    /** 订单数 */
    @Excel(name = "订单数")
    private Long orderCount;

    /** 行程数 */
    @Excel(name = "行程数")
    private Long itineraryCount;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setSourceId(Long sourceId) 
    {
        this.sourceId = sourceId;
    }

    public Long getSourceId() 
    {
        return sourceId;
    }

    public void setOrderCount(Long orderCount) 
    {
        this.orderCount = orderCount;
    }

    public Long getOrderCount() 
    {
        return orderCount;
    }

    public void setItineraryCount(Long itineraryCount) 
    {
        this.itineraryCount = itineraryCount;
    }

    public Long getItineraryCount() 
    {
        return itineraryCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("sourceId", getSourceId())
            .append("orderCount", getOrderCount())
            .append("itineraryCount", getItineraryCount())
            .append("remark", getRemark())
            .toString();
    }
}
